package cc.io24.knewcafe.boss.facade;

import cc.io24.knewcafe.boss.facade.model.Post;
import org.springframework.cloud.openfeign.FeignClient;


@FeignClient(value = "service-blog", path = "jpa-api/posts")
public interface PostFacade extends BasicFacade<Post> {

//    @RequestMapping(method = RequestMethod.DELETE, value = "/{id}")
//    String deleteById(@PathVariable("id") String id);
//
//    @RequestMapping(method = RequestMethod.PUT, value = "/{id}", consumes = {"application/json"}, produces = {"application/json"})
//    Post save(@RequestBody Post t, @PathVariable("id") String id);
//
//    @RequestMapping(method = RequestMethod.POST, value = "/", consumes = {"application/json"}, produces = {"application/json"})
//    Post insert(@RequestBody Post t);

}
